﻿#coding: utf-8
import os



def writeFile(path: str) -> None:
    with open("{0}/file.txt".format(path), "a", encoding="UTF-8", ) as f:
        f.write("hello 世界\n")


writeFile(os.getcwd())